import React, { Component } from 'react'
import NavBar from './NavBar/index'
export class App extends Component {
  render() {
    return (
      <div>
        <NavBar
          leftSlot={(item) => <button>{item}</button>}
          centerSlot={(item) => <h2>{item}</h2>}
          rightSlot={(item) => <i>{item}</i>}
        ></NavBar>
      </div>
    )
  }
}
export default App
